package com.jie.files.dao;

import com.jie.files.entity.Files;

import java.util.List;

/**
 * @author Jeson
 * @description
 * @create 2021/10/5
 * @since 1.0.0
 */
public interface FilesDao {


    List<Files> findFilesByUserId(Integer userId);

    void upload(Files files);

    Files findFileById(Integer id);


    void addCount(Files files);

    void deleteById(Integer id);
}